package com.moto.repository;

import org.springframework.stereotype.Repository;

import com.moto.entity.PostsTrade;

/**
 * 旅行贴Repository
 * @author lixunhui
 *
 */
@Repository("postsTradeRepository")
public interface PostsTradeRepository {

	PostsTrade selectByPostsId(String postsId);
	
	 int deleteByPrimaryKey(String pId);

     
	    int insert(PostsTrade record);

	     
	    int insertSelective(PostsTrade record);

	     
	    PostsTrade selectByPrimaryKey(String pId);
	    
	    int updateByPrimaryKeySelective(PostsTrade record);
	     
	    int updateByPrimaryKey(PostsTrade record);
	    
	    int deleteByPostsId(String postsId);
}
